package com.qianhui.pojo;

import java.sql.Timestamp;

/**
 * BuyerCollection entity. @author MyEclipse Persistence Tools
 */

public class BuyerCollection implements java.io.Serializable
{

    // Fields

    private String collectionId;
    private String buyerId;
    private String primaryId;
    private Timestamp collectionTime;
    private String collectionType;

    // Constructors

    /**
     * default constructor
     */
    public BuyerCollection()
    {
    }

    /**
     * full constructor
     */
    public BuyerCollection(String collectionId, String buyerId, String primaryId, Timestamp collectionTime, String collectionType)
    {
        this.collectionId = collectionId;
        this.buyerId = buyerId;
        this.primaryId = primaryId;
        this.collectionTime = collectionTime;
        this.collectionType = collectionType;
    }

    // Property accessors

    public String getCollectionId()
    {
        return this.collectionId;
    }

    public void setCollectionId(String collectionId)
    {
        this.collectionId = collectionId;
    }

    public String getBuyerId()
    {
        return this.buyerId;
    }

    public void setBuyerId(String buyerId)
    {
        this.buyerId = buyerId;
    }

    public String getPrimaryId()
    {
        return this.primaryId;
    }

    public void setPrimaryId(String primaryId)
    {
        this.primaryId = primaryId;
    }

    public Timestamp getCollectionTime()
    {
        return this.collectionTime;
    }

    public void setCollectionTime(Timestamp collectionTime)
    {
        this.collectionTime = collectionTime;
    }

    public String getCollectionType()
    {
        return this.collectionType;
    }

    public void setCollectionType(String collectionType)
    {
        this.collectionType = collectionType;
    }

    @Override
    public String toString()
    {
        return "BuyerCollection [collectionId=" + collectionId + ", buyerId=" + buyerId + ", primaryId=" + primaryId + ", collectionTime=" + collectionTime + ", collectionType=" + collectionType + "]";
    }

}